<template>
  <el-card shadow="never" class="el-card-clean">
    <el-table :data="tableData" border style="width: 100%">
      <el-table-column prop="columnA" label="报告地区"> </el-table-column>
      <el-table-column prop="columnB" label="入库量"> </el-table-column>
      <el-table-column prop="columnC" label="金额（万）"> </el-table-column>
      <el-table-column prop="columnD" label="波动性"> </el-table-column>
      <el-table-column prop="columnE" label="统计日期"> </el-table-column>
    </el-table>
    <div class="pagination">
      <Pagination :total="tableData.length"></Pagination>
    </div>
  </el-card>
</template>

<script>
import Pagination from './Pagination'
export default {
  components: {
    Pagination
  },

  props: {
    tableData: {
      type: Array,
      default: () => []
    }
  },

  data() {
    return {}
  }
}
</script>

<style lang="scss" scoped>
.pagination {
  float: right;
  margin: 10px;
}
</style>
